package com.yzkj.cpjxc.business.service;

import com.yzkj.cpjxc.business.framework.common.BusinessMap;
import com.yzkj.cpjxc.business.framework.common.Pager;
import com.yzkj.cpjxc.business.domain.ZhangTao;
import com.yzkj.cpjxc.business.domain.ZhangTaoQueryVo;

/**
 * 账套 Service 接口
 */
public interface ZhangTaoService {
	
	/**
	 * 获取查询分页对象
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param pager
	 * @param queryVo
	 * @return
	 * @throws Exception
	 */
	public Pager<ZhangTao> search(Pager<ZhangTao> pager, ZhangTaoQueryVo queryVo) throws Exception;
	
	/**
	 * 新增账套
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param zhangTao
	 * @return
	 * @throws Exception
	 */
	public BusinessMap create(ZhangTao zhangTao) throws Exception;
	
	/**
	 * 判断是否存在
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param zhangTao 账套
	 * @return
	 * @throws Exception
	 */
	public boolean isExists(ZhangTao zhangTao) throws Exception;
	
	/**
	 * 根据ID获取账套
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param uuid
	 * @return
	 * @throws Exception
	 */
	public ZhangTao getById(String uuid) throws Exception;
	
	/**
	 * 编辑账套
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param zhangTao 账套
	 * @return
	 * @throws Exception
	 */
	public BusinessMap edit(ZhangTao zhangTao) throws Exception;
	
	/**
	 * 根据ID删除账套
	 * @creator: shenghe.he
	 * @modifier:
	 * @modifiedDate:
	 * @param uuid
	 * @return
	 * @throws Exception
	 */
	public boolean delete(String uuid) throws Exception;
	

}
